<h1>Listing users</h1>

<div id="content">
	<table>
		<tr>
			<th>Login</th>
			<th>Name</th>
			<th>Created</th>
			<th>Updated</th>
		<th></th>
		</tr>
	<% for user in @users %>
		<tr>
			<td><%=h user.login %></td>
			<td><%=h user.name %></td>
			<td><%=h user.created_at.to_formatted_s(:long) %></td>
			<td><%=h user.updated_at.to_formatted_s(:long) %></td>
			<td>
			<%= link_to 'Show', user %> <!-- |
			<%= link_to 'Edit', edit_user_path(user) %> |
			<%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %> -->
		</td>
		</tr>
	<% end %>
	</table>
	<p><%= link_to 'New user', new_user_path %></p>
</div>

<div id="clear"></div>